package com.hs.srm.admin.modules.pricemanagement.vo;

import com.hs.srm.base.common.annotation.DictMapping;
import com.hs.srm.base.common.utils.DictDataUtil.DictType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 简化货源分配的数据
 *
 * @author 闫飞
 * @date 2019年2月24日
 */
@Getter
@Setter
@ToString
public class EssentialInformationVO implements Serializable {

    private static final long serialVersionUID = -3000571191963686401L;


    public EssentialInformationVO() {
        super();
    }

    private String pkId; //主键id
    private int goodsStatus; //货源状态
    private String purchRequestCode; //采购申请编码
    private String purchRequestItemCode; //行项目号
    private String purchRequestType; //采购申请类型
    private String createdBy; //创建人
    private String purchRequestDept; //申请部门
    @DictMapping(type = DictType.KMLB)
    private String subjectCategory; //科目类别
    private String usePeople; //使用人
    private String internalOrderCode; //内部订单号
    private String assetsSencondCode; //资产次级编号
    private String deliveryAddress;  //交货地址
    @DictMapping(type = DictType.CGZ)
    private String purchGroup; //采购组
    @DictMapping(type = DictType.CGZZ)
    private String purchOrg; //采购组织
    private String creationDate;//下单日期
    private String materialCode; //物料号
    private String materialDesc; //物料描述

    @DictMapping(type = DictType.GC)
    private String factory; //工厂
    private String storageLocation; //库存地点
    @DictMapping(type = DictType.WLZ)
    private String materialGroup; //物料组
    private BigDecimal applyQty; //申请数量

    @DictMapping(type = DictType.JLDW)
    private String measureUnit; //计量单位
    @DictMapping(type = DictType.CBZX)
    private String costCenter; //成本中心
    private String mainAssetsCode; //主资产号
    private String requestDate; //需求日期
    private String deliveryDate; //交货日期
    //private String vendorCode; //供应商编码
    private String vendorName; //供应商名称
    private String sapCode; //供应商编码
    private BigDecimal price; //含税单价
    private String applier;  //申请者
    private String priceUnit; //价格单位
    @DictMapping(type = DictType.BZ)
    private String currency; //货币
    @DictMapping(type = DictType.SDM)
    private String taxCode; //税码
    private BigDecimal quantity; //购买量

    private String quotaId;//配额ID
    private BigDecimal quotaNum; //配额数量
    private BigDecimal usedQuotaNum; //已用配额数量
    private String startDate; //开始时间
    private String endDate; //结束时间

    private String i18nTradeTerms; //国际贸易条款
    private String payTermsPurchase;//付款条款采购
    private String remark;//备注

    @DictMapping(type = DictType.FKTJ)
    private String payCondition; //付款条件
    private java.lang.String infoCode;

    /**
     * 信息记录分类
     */
    @DictMapping(type = DictType.XXLB)
    private String classify;

    /**
     * 冻结状态
     */
    private Integer freeze;

    /**
     * 信息记录状态：0，未确认；1，已确认
     */
    private Integer infoStatus;
}
